package com.hjb.service.domain.recharge;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BankCardBinExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BankCardBinExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeIsNull() {
            addCriterion("bankcard_code is null");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeIsNotNull() {
            addCriterion("bankcard_code is not null");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeEqualTo(String value) {
            addCriterion("bankcard_code =", value, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeNotEqualTo(String value) {
            addCriterion("bankcard_code <>", value, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeGreaterThan(String value) {
            addCriterion("bankcard_code >", value, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeGreaterThanOrEqualTo(String value) {
            addCriterion("bankcard_code >=", value, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeLessThan(String value) {
            addCriterion("bankcard_code <", value, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeLessThanOrEqualTo(String value) {
            addCriterion("bankcard_code <=", value, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeLike(String value) {
            addCriterion("bankcard_code like", value, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeNotLike(String value) {
            addCriterion("bankcard_code not like", value, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeIn(List<String> values) {
            addCriterion("bankcard_code in", values, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeNotIn(List<String> values) {
            addCriterion("bankcard_code not in", values, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeBetween(String value1, String value2) {
            addCriterion("bankcard_code between", value1, value2, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardCodeNotBetween(String value1, String value2) {
            addCriterion("bankcard_code not between", value1, value2, "bankcardCode");
            return (Criteria) this;
        }

        public Criteria andBankcardNameIsNull() {
            addCriterion("bankcard_name is null");
            return (Criteria) this;
        }

        public Criteria andBankcardNameIsNotNull() {
            addCriterion("bankcard_name is not null");
            return (Criteria) this;
        }

        public Criteria andBankcardNameEqualTo(String value) {
            addCriterion("bankcard_name =", value, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameNotEqualTo(String value) {
            addCriterion("bankcard_name <>", value, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameGreaterThan(String value) {
            addCriterion("bankcard_name >", value, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameGreaterThanOrEqualTo(String value) {
            addCriterion("bankcard_name >=", value, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameLessThan(String value) {
            addCriterion("bankcard_name <", value, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameLessThanOrEqualTo(String value) {
            addCriterion("bankcard_name <=", value, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameLike(String value) {
            addCriterion("bankcard_name like", value, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameNotLike(String value) {
            addCriterion("bankcard_name not like", value, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameIn(List<String> values) {
            addCriterion("bankcard_name in", values, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameNotIn(List<String> values) {
            addCriterion("bankcard_name not in", values, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameBetween(String value1, String value2) {
            addCriterion("bankcard_name between", value1, value2, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNameNotBetween(String value1, String value2) {
            addCriterion("bankcard_name not between", value1, value2, "bankcardName");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteIsNull() {
            addCriterion("bankcard_note is null");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteIsNotNull() {
            addCriterion("bankcard_note is not null");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteEqualTo(Integer value) {
            addCriterion("bankcard_note =", value, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteNotEqualTo(Integer value) {
            addCriterion("bankcard_note <>", value, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteGreaterThan(Integer value) {
            addCriterion("bankcard_note >", value, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteGreaterThanOrEqualTo(Integer value) {
            addCriterion("bankcard_note >=", value, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLessThan(Integer value) {
            addCriterion("bankcard_note <", value, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLessThanOrEqualTo(Integer value) {
            addCriterion("bankcard_note <=", value, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteIn(List<Integer> values) {
            addCriterion("bankcard_note in", values, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteNotIn(List<Integer> values) {
            addCriterion("bankcard_note not in", values, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteBetween(Integer value1, Integer value2) {
            addCriterion("bankcard_note between", value1, value2, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteNotBetween(Integer value1, Integer value2) {
            addCriterion("bankcard_note not between", value1, value2, "bankcardNote");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthIsNull() {
            addCriterion("bankcard_length is null");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthIsNotNull() {
            addCriterion("bankcard_length is not null");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthEqualTo(Byte value) {
            addCriterion("bankcard_length =", value, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthNotEqualTo(Byte value) {
            addCriterion("bankcard_length <>", value, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthGreaterThan(Byte value) {
            addCriterion("bankcard_length >", value, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthGreaterThanOrEqualTo(Byte value) {
            addCriterion("bankcard_length >=", value, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthLessThan(Byte value) {
            addCriterion("bankcard_length <", value, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthLessThanOrEqualTo(Byte value) {
            addCriterion("bankcard_length <=", value, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthIn(List<Byte> values) {
            addCriterion("bankcard_length in", values, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthNotIn(List<Byte> values) {
            addCriterion("bankcard_length not in", values, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthBetween(Byte value1, Byte value2) {
            addCriterion("bankcard_length between", value1, value2, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardLengthNotBetween(Byte value1, Byte value2) {
            addCriterion("bankcard_length not between", value1, value2, "bankcardLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthIsNull() {
            addCriterion("bankcard_note_length is null");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthIsNotNull() {
            addCriterion("bankcard_note_length is not null");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthEqualTo(Boolean value) {
            addCriterion("bankcard_note_length =", value, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthNotEqualTo(Boolean value) {
            addCriterion("bankcard_note_length <>", value, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthGreaterThan(Boolean value) {
            addCriterion("bankcard_note_length >", value, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthGreaterThanOrEqualTo(Boolean value) {
            addCriterion("bankcard_note_length >=", value, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthLessThan(Boolean value) {
            addCriterion("bankcard_note_length <", value, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthLessThanOrEqualTo(Boolean value) {
            addCriterion("bankcard_note_length <=", value, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthIn(List<Boolean> values) {
            addCriterion("bankcard_note_length in", values, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthNotIn(List<Boolean> values) {
            addCriterion("bankcard_note_length not in", values, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthBetween(Boolean value1, Boolean value2) {
            addCriterion("bankcard_note_length between", value1, value2, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andBankcardNoteLengthNotBetween(Boolean value1, Boolean value2) {
            addCriterion("bankcard_note_length not between", value1, value2, "bankcardNoteLength");
            return (Criteria) this;
        }

        public Criteria andCardCodeIsNull() {
            addCriterion("card_code is null");
            return (Criteria) this;
        }

        public Criteria andCardCodeIsNotNull() {
            addCriterion("card_code is not null");
            return (Criteria) this;
        }

        public Criteria andCardCodeEqualTo(String value) {
            addCriterion("card_code =", value, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeNotEqualTo(String value) {
            addCriterion("card_code <>", value, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeGreaterThan(String value) {
            addCriterion("card_code >", value, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeGreaterThanOrEqualTo(String value) {
            addCriterion("card_code >=", value, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeLessThan(String value) {
            addCriterion("card_code <", value, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeLessThanOrEqualTo(String value) {
            addCriterion("card_code <=", value, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeLike(String value) {
            addCriterion("card_code like", value, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeNotLike(String value) {
            addCriterion("card_code not like", value, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeIn(List<String> values) {
            addCriterion("card_code in", values, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeNotIn(List<String> values) {
            addCriterion("card_code not in", values, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeBetween(String value1, String value2) {
            addCriterion("card_code between", value1, value2, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardCodeNotBetween(String value1, String value2) {
            addCriterion("card_code not between", value1, value2, "cardCode");
            return (Criteria) this;
        }

        public Criteria andCardNameIsNull() {
            addCriterion("card_name is null");
            return (Criteria) this;
        }

        public Criteria andCardNameIsNotNull() {
            addCriterion("card_name is not null");
            return (Criteria) this;
        }

        public Criteria andCardNameEqualTo(String value) {
            addCriterion("card_name =", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotEqualTo(String value) {
            addCriterion("card_name <>", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameGreaterThan(String value) {
            addCriterion("card_name >", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameGreaterThanOrEqualTo(String value) {
            addCriterion("card_name >=", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameLessThan(String value) {
            addCriterion("card_name <", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameLessThanOrEqualTo(String value) {
            addCriterion("card_name <=", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameLike(String value) {
            addCriterion("card_name like", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotLike(String value) {
            addCriterion("card_name not like", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameIn(List<String> values) {
            addCriterion("card_name in", values, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotIn(List<String> values) {
            addCriterion("card_name not in", values, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameBetween(String value1, String value2) {
            addCriterion("card_name between", value1, value2, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotBetween(String value1, String value2) {
            addCriterion("card_name not between", value1, value2, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardTypeIsNull() {
            addCriterion("card_type is null");
            return (Criteria) this;
        }

        public Criteria andCardTypeIsNotNull() {
            addCriterion("card_type is not null");
            return (Criteria) this;
        }

        public Criteria andCardTypeEqualTo(Integer value) {
            addCriterion("card_type =", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotEqualTo(Integer value) {
            addCriterion("card_type <>", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeGreaterThan(Integer value) {
            addCriterion("card_type >", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("card_type >=", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLessThan(Integer value) {
            addCriterion("card_type <", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLessThanOrEqualTo(Integer value) {
            addCriterion("card_type <=", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeIn(List<Integer> values) {
            addCriterion("card_type in", values, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotIn(List<Integer> values) {
            addCriterion("card_type not in", values, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeBetween(Integer value1, Integer value2) {
            addCriterion("card_type between", value1, value2, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("card_type not between", value1, value2, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardBinNoIsNull() {
            addCriterion("card_bin_no is null");
            return (Criteria) this;
        }

        public Criteria andCardBinNoIsNotNull() {
            addCriterion("card_bin_no is not null");
            return (Criteria) this;
        }

        public Criteria andCardBinNoEqualTo(String value) {
            addCriterion("card_bin_no =", value, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoNotEqualTo(String value) {
            addCriterion("card_bin_no <>", value, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoGreaterThan(String value) {
            addCriterion("card_bin_no >", value, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoGreaterThanOrEqualTo(String value) {
            addCriterion("card_bin_no >=", value, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoLessThan(String value) {
            addCriterion("card_bin_no <", value, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoLessThanOrEqualTo(String value) {
            addCriterion("card_bin_no <=", value, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoLike(String value) {
            addCriterion("card_bin_no like", value, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoNotLike(String value) {
            addCriterion("card_bin_no not like", value, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoIn(List<String> values) {
            addCriterion("card_bin_no in", values, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoNotIn(List<String> values) {
            addCriterion("card_bin_no not in", values, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoBetween(String value1, String value2) {
            addCriterion("card_bin_no between", value1, value2, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andCardBinNoNotBetween(String value1, String value2) {
            addCriterion("card_bin_no not between", value1, value2, "cardBinNo");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(Integer value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(Integer value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(Integer value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(Integer value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(Integer value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<Integer> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<Integer> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(Integer value1, Integer value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(Integer value1, Integer value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(Integer value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(Integer value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(Integer value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(Integer value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(Integer value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<Integer> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<Integer> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(Integer value1, Integer value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(Integer value1, Integer value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}